﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TrainTicketBookingSystem
{
    internal class Carriage
    {
        public int CarriageId { get; set; }
        public int TrainId { get; set; }
        public int CarriageNum { get; set; }
        public int Price { get; set; }

        public Carriage()
        {
        }

        public Carriage(int carriageId, int trainId, int carriageNum, int price)
        {
            CarriageId = carriageId;
            TrainId = trainId;
            CarriageNum = carriageNum;
            Price = price;
        }
    }
}
